package com.cloud.custom.tasklist.entity;

import javax.persistence.*;

@Table(name = "task_list_tab_menu_part")
public class TaskListTabMenuPart {
    @Id
    @Column(name = "task_list_id")
    private Long taskListId;

    @Id
    @Column(name = "menu_id")
    private Long menuId;

    @Id
    @Column(name = "part_id")
    private Long partId;

    @Id
    @Column(name = "act_def_id")
    private Long actDefId;

    @Id
    @Column(name = "tab_id")
    private Long tabId;

    @Column(name = "auth_code")
    private int authCode;

    /**
     * @return menu_id
     */
    public Long getMenuId() {
        return menuId;
    }

    /**
     * @param menuId
     */
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    /**
     * @return part_id
     */
    public Long getPartId() {
        return partId;
    }

    /**
     * @param partId
     */
    public void setPartId(Long partId) {
        this.partId = partId;
    }

    public Long getActDefId() {
        return actDefId;
    }

    public void setActDefId(Long actDefId) {
        this.actDefId = actDefId;
    }

    public Long getTaskListId() {
        return taskListId;
    }

    public void setTaskListId(Long taskListId) {
        this.taskListId = taskListId;
    }

    public int getAuthCode() {
        return authCode;
    }

    public void setAuthCode(int authCode) {
        this.authCode = authCode;
    }

    public Long getTabId() {
        return tabId;
    }

    public void setTabId(Long tabId) {
        this.tabId = tabId;
    }
}
